(ido-ignore-item-p): Allow any kind of functions in ignore lists.
authorKim F. Storm <storm@cua.dk>
Thu, 14 Sep 2006 14:42:30 +0000 (14:42 +0000)
committerKim F. Storm <storm@cua.dk>
Thu, 14 Sep 2006 14:42:30 +0000 (14:42 +0000)
From MichaĆ«l Cadilhac.

lisp/ido.el

index e3baa71396b54207f2a1f9fb81a9fe2e61a5018e..432347717f59a9734d1956fe8757673b849539e3 100644 (file)
@@ -3618,7 +3618,7 @@ for first matching file."
                  ((stringp nextstr)
                   (and (>= flen (setq slen (length nextstr)))
                        (string-equal (substring name (- flen slen)) nextstr)))
-                 ((fboundp nextstr) (funcall nextstr name))
+                 ((functionp nextstr) (funcall nextstr name))
                  (t nil))
                 (setq ignorep t
                       ext-list nil
@@ -3628,7 +3628,7 @@ for first matching file."
             (setq nextstr (car re-list))
             (if (cond
                  ((stringp nextstr) (string-match nextstr name))
-                 ((fboundp nextstr) (funcall nextstr name))
+                 ((functionp nextstr) (funcall nextstr name))
                  (t nil))
                 (setq ignorep t
                       re-list nil)